//
//  IpadPlayerViewController2.m
//  kankanVideo
//
//  Created by wangbo on 10/31/12.
//
//

#import "IpadPlayerViewController2.h"

@interface IpadPlayerViewController2 ()

@end

@implementation IpadPlayerViewController2
@synthesize sv;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
    
    
}

-(void)showVideoList:(NSMutableArray *)param{
    NSLog(@"showshoshow");
    for (int k=0; k<10; k++) {
        UIButton *btn=[UIButton buttonWithType:UIButtonTypeRoundedRect];
        btn.titleLabel.text=@"xiaowu";
        [sv addSubview:btn];
        NSLog(@"myOrderScrollView_count:%d",sv.subviews.count);
    }
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
